package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.StockOutSheepDao;
import io.renren.modules.generator.entity.StockOutSheepEntity;
import io.renren.modules.generator.service.StockOutSheepService;



@Service("stockOutSheepService")
public class StockOutSheepServiceImpl implements StockOutSheepService {
	@Autowired
	private StockOutSheepDao stockOutSheepDao;
	
	@Override
	public StockOutSheepEntity queryObject(Integer id){
		return stockOutSheepDao.queryObject(id);
	}
	
	@Override
	public List<StockOutSheepEntity> queryList(Map<String, Object> map){
		return stockOutSheepDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return stockOutSheepDao.queryTotal(map);
	}
	
	@Override
	public void save(StockOutSheepEntity stockOutSheep){
		stockOutSheepDao.save(stockOutSheep);
	}
	
	@Override
	public void update(StockOutSheepEntity stockOutSheep){
		stockOutSheepDao.update(stockOutSheep);
	}
	
	@Override
	public void delete(Integer id){
		stockOutSheepDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		stockOutSheepDao.deleteBatch(ids);
	}
	
}
